/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package db;

/**
 *
 * @author abracadabuda
 */
public class ConnectionProperties {

    private String username;
    private String password;
    private String databaseName;
    private String host = "localhost";
    private String name;

    /**
     * simple constructor
     */
    public ConnectionProperties() {}
    
    /**
     * create ConnectionProperties object
     * @param username
     * @param password
     * @param databaseName
     * @param host
     * @param name name for this connectionProperties
     */
    public ConnectionProperties(String username, String password, String databaseName, String host, String name) {
        this.username = username;
        this.password = password;
        this.databaseName = databaseName;
        this.host = host;
        this.name = name;
    }
    
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
